﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ContactList.Web.Model;

namespace ContactList.Web.Services
{
    // NOTE: If you change the interface name "IContactServices" here, you must also update the reference to "IContactServices" in Web.config.
    [ServiceContract]
    public interface IContactServices
    {
        [OperationContract]
        IList<Contact> GetAllContacts();

        [OperationContract]
        IList<Contact> GetContactByLastName(string lastName);
    }
}
